﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace PcProject.Application.Service.AutoMapper
{
    /// <summary>
    /// 商品表
    /// </summary>
    [Table("ProductDto")]
    public class ProductDto
    {
        [Key]
        public int ProId { get; set; }
        [StringLength(20)]
        public string ProName { get; set; }
        public int ProType { get; set; }
        public decimal Price { get; set; }
        public decimal NewPrice { get; set; }
        public string PicUrl { get; set; }
        public int Sales { get; set; }
        public string ProAdress { get; set; }
        public int SheifLife { get; set; }
        public int ProNum { get; set; }
        public int Sort { get; set; }
        public int Inventory { get; set; }
        public int UpOrSet { get; set; }
        public int IsDelete { get; set; }
        public DateTime AddTime { get; set; }
        public string Bought { get; set; }
        public string Business { get; set; }

    }
}
